//
//  LQForgetPasswordController.m
//  BuDeJie
//
//  Created by runone02 on 2018/6/15.
//  Copyright © 2018年 李启云. All rights reserved.
//

#import "LQForgetPasswordController.h"
#import "LQYForgetPasswordView.h"
#import "LQYLoginBassController.h"
@interface LQForgetPasswordController ()
@property (nonatomic, strong) LQYForgetPasswordView *forgetView;
@end

@implementation LQForgetPasswordController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.forgetView = [[LQYForgetPasswordView alloc]init];
    self.view.backgroundColor = [UIColor whiteColor];
    [self.view addSubview:self.forgetView];
    [self.forgetView.enrollBtn addTarget:self action:@selector(enrollBtnClick:) forControlEvents:UIControlEventTouchUpInside];
    [self.forgetView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(self.view).with.offset(kTopBarHeight+W_RATIO(40));
        make.left.right.bottom.mas_equalTo(self.view);
    }];
}

//注册登录
- (void)enrollBtnClick:(UIButton *)button {
    LQYLoginBassController *pass = [[LQYLoginBassController alloc]init];
    [self.navigationController pushViewController:pass animated:YES];
}


@end
